using System;
using System.Collections.Generic;
using System.Collections.Specialized;

using Kwan.Data;
using ProjectName.Data;

namespace ProjectName.Service
{
	public class TableNameQuery
	{

		public static Expression MakeSearchWhere(NameValueCollection ps)
		{
			Expression exp = new Expression();

            string propName = "EntityID";
            if (!string.IsNullOrEmpty(ps[propName]))
                exp &= TArticle.entityID == int.Parse(ps[propName]);
QueryColumnName

			return exp;
		}
	}
}